home *** CD-ROM | disk | FTP | other *** search
- Path: news.Stanford.EDU!usenet
- From: tjb <byer@pangea.stanford.edu>
- Newsgroups: comp.lang.c++
- Subject: File Input Question with fin.get
- Date: 31 Dec 1995 20:47:58 GMT
- Organization: Stanford University
- Message-ID: <4c6stv$926@nntp.Stanford.EDU>
- NNTP-Posting-Host: maple1.stanford.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22 (Windows; I; 32bit)
-
-
- I want to read until I hit a space or '\n'
-
- I have tried something like fin.get(buff,256,' ') which works fine but I
- want something like fin.get(buff,256,' ' || '\n') (read into buff until a
- space or end of line is encountered)
-
- Any help or simple example is appreciated.
-
- Thanks
- Tom
-
-
-
-